package com.ch.ebusiness.service.admin;

import com.ch.ebusiness.entity.GoodsType;
import org.springframework.ui.Model;

public interface TypeService {
    public String selectAllTypeByPage(Model model, int currentPage);
    
    public String delete(int id);
    
    public String addType(GoodsType goodsType);
    
    
    String update(GoodsType goodsType);
    
    String selectTypeUpdate(Model model, int currentPage);
    
    String selectTypeDelete(Model model, int currentPage);
}
